package com.expense.common.amiExt;

import org.beetl.sql.core.SQLManager;
import org.beetl.sql.core.mapper.MapperInvoke;

import java.lang.reflect.Method;
import java.util.List;

public class UpdateBatchAmiExt implements MapperInvoke {
    public UpdateBatchAmiExt() {

    }

    @Override
    public Object call(SQLManager sqlManager, Class aClass, String s, Method method, Object[] objects) {
        return sqlManager.updateBatchTemplateById(aClass,(List) objects[0]);
    }
}
